package com.ztgf.order.models.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author LZM
 * @create 2021-09-14 10:10
 */
@Data
public class OrderPaymentTypeVO implements Serializable {
    @ApiModelProperty(value = "主键")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty("原订单id")
    private Long orderId;

    @ApiModelProperty(value = "卖家店铺id")
    private Long sellShopId;

    @ApiModelProperty(value = "买家店铺id")
    private Long buyShopId;

    @ApiModelProperty(value = "支付类型 0现鑫/网银/余额、1赊销、2票据")
    private Integer paymentType;

    @ApiModelProperty(value = "类型 0卖家设置、1买家设置")
    private Integer type;

    @ApiModelProperty(value = "赊销付款比例集合")
    private List<OrderPaymentScaleVO> orderPaymentScaleVOList;

}